package org.anyin.gitee.cloud.center.upms.mapper;

import org.anyin.gitee.cloud.center.upms.model.SysRoleMenu;
import org.anyin.gitee.cloud.lib.core.web.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

    List<String> getPermissionListByUserId(@Param("sysUserId") Long sysUserId);

    List<String> getMenuCodeListByRoleId(@Param("sysRoleId") Long sysRoleId);
}
